package com.brainshare.an.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainshare.common.annotation.Excel;
import com.brainshare.common.core.domain.BaseEntity;

/**
 * 训练产品对象 exercise_product
 * 
 * @author wolong
 * @date 2023-03-10
 */
public class ExerciseProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 训练产品主键 */
    private Long exerciseProductId;

    /** 训练产品名称 */
    @Excel(name = "训练产品名称")
    private String name;

    /** 训练产品描述 */
    @Excel(name = "训练产品描述")
    private String description;

    /** 图片连接 */
    @Excel(name = "图片连接")
    private String pictureUrl;

    /** 产品相关文案富文本 */
    @Excel(name = "产品相关文案富文本")
    private String content;

    /** 训练产品项目信息 */
    private List<Exercise> exerciseList;

    public void setExerciseProductId(Long exerciseProductId) 
    {
        this.exerciseProductId = exerciseProductId;
    }

    public Long getExerciseProductId() 
    {
        return exerciseProductId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public List<Exercise> getExerciseList()
    {
        return exerciseList;
    }

    public void setExerciseList(List<Exercise> exerciseList)
    {
        this.exerciseList = exerciseList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("exerciseProductId", getExerciseProductId())
            .append("name", getName())
            .append("description", getDescription())
            .append("pictureUrl", getPictureUrl())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("exerciseList", getExerciseList())
            .toString();
    }
}
